package org.rc.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.rc.entity.ConversationRecord;

import java.util.List;

public interface ConversationRecordService {
    void addRecord(ConversationRecord conversationRecord);
    ConversationRecord getByConversationId(Long id);
    void end(ConversationRecord conversationRecord);
    Page<ConversationRecord> getConversationRecordPage(long pageNo, long pageSize, Long roomId,Long userId,String beginTime,String endTime);
    void deleteByRecordId(Long id);
    void deleteByRecordIds(List<Long> ids);
}
